<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\models;

/**
 * Description of GoodsForm
 *
 * @author Administrator
 */
class GoodsForm extends \yii\base\Model {
    //put your code here
    public $goods_name;
    public $goods_price;
    public function rules(){
        return [
            ['goods_name','required','message'=>'名称必填'],
        ];
    }
}
